.back-to-main {
    text-align: center;
    margin-top: 20px;
}

.back-to-main .back-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #4A90E2;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.back-to-main .back-btn:hover {
    background-color: #357ABD;
}

.back-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #4A90E2;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    background-color: #357ABD;
}

.back-btn:hover {
    background-color: #357ABD;
}

/* 已有课程类型列表 */
#course-type-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #D1E4F6;
    border-radius: 8px;
    background-color: #F9FAFB;
    padding: 10px;
}

#course-type-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #D1E4F6;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #ffffff;
    word-wrap: break-word;
}

#course-type-list li span {
    font-size: 16px;
    color: #333;
    flex: 1;
    margin-right: 10px;
}

#course-type-list li .delete-btn {
    padding: 5px 10px;
    background-color: #E74C3C;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

#course-type-list li .delete-btn:hover {
    background-color: #C0392B;
}

#course-type-list li.empty {
    text-align: center;
    color: #999;
    padding: 10px;
    background-color: #FFF;
    border: 1px solid #D1E4F6;
    border-radius: 4px;
}

/* 按钮 */
.edit-btn, .delete-btn {
    margin-left: 10px;
    padding: 5px 10px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.edit-btn {
    background-color: #4CAF50;
    color: white;
}

.edit-btn:hover {
    background-color: #45A049;
}

.delete-btn {
    background-color: #E74C3C;
    color: white;
}

.delete-btn:hover {
    background-color: #C0392B;
}